package com.cungmua.app.model.response;

import com.cungmua.app.model.OrderDetails;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by kelvin.nguyen on 7/23/14.
 */
public class OrderDetailsResponse extends CungMuaResponse {
    OrderDetails orderDetails;
    public OrderDetailsResponse(@JsonProperty("Msg") String message, @JsonProperty("Code") int code) {
        super(message, code);
    }

    @JsonProperty("Data")
    public void setDealDetails(OrderDetails orderDetails) {
        this.orderDetails = orderDetails;
    }

    @Override
    public OrderDetails getData() {
        return orderDetails;
    }
}
